﻿using System.Collections.Generic;

namespace Sidvall.CodeGenerator.DataObjects
{
	public class Entity
	{
		public string SetName { get; set; }
		public string Name { get; set; }
		public string Namespace { get; set; }
		public string BaseName { get; set; }
		public string BaseNamespace { get; set; }
		public bool IsAbstract { get; set; }
		public int KeyCount { get; set; }
		[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists")]
		public List<Scalar> Scalars { get; private set; }
		[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists")]
		public List<Reference> References { get; private set; }

		public Entity()
		{
			this.KeyCount = 0;
			this.Scalars = new List<Scalar>();
			this.References = new List<Reference>();
		}
	}
}
